package com.joysuch.wwyt.bp.repository;

import com.joysuch.wwyt.bp.entity.BpWorkSafetyIdentify;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface BpWorkSafetyIdentifyDao extends JpaRepository<BpWorkSafetyIdentify, Long> {

    void deleteByCertId(Long id);

    BpWorkSafetyIdentify findByCertId(Long id);
}


